package com.xunge.pojo;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class Exam {
    private Integer id; //ID,主键
    private String title; //考试标题
    private Integer courseId; //课程ID
    private Integer clazzId; //班级ID
    private Integer examType; //考试类型, 1:期中考试, 2:期末考试, 3:单元测试, 4:模拟考试
    private LocalDateTime examDate; //考试日期
    private Integer duration; //考试时长(分钟)
    private String location; //考试地点
    private Integer status; //状态, 1:启用, 0:禁用
    private LocalDateTime createTime; //创建时间
    private LocalDateTime updateTime; //修改时间
    
    //关联信息
    private String courseName; //课程名称
    private String clazzName; //班级名称
} 